﻿using Basic.FlowApplication;
using Basic.FlowLocalEvent;
using WeDonekRpc.CacheModular;
using WeDonekRpc.Client;
using WeDonekRpc.Modular;

namespace Basic.FlowService
{
    public class FlowService
    {
        public static void InitService ()
        {
            RpcClient.Start(( option ) =>
            {
                option.LoadModular<FlowAuditModular>();
                option.LoadModular<FlowLocalEventModular>();
                option.LoadModular<CacheModular>();
                option.LoadModular<ExtendModular>();
                option.Load("Basic.FlowService");
            });
        }
    }
}
